package com.example.lib_patrol.detail

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.lib_patrol.PatrolRowEntity
import com.example.lib_patrol.R

class DetailAdapter : BaseQuickAdapter<PatrolRowEntity,BaseViewHolder>(R.layout.item_patrol_line){
    override fun convert(holder: BaseViewHolder, item: PatrolRowEntity) {
        holder.setText(R.id.patrol_palce,item.pointName)
    }
}